class AddIndicesToTimespan < ActiveRecord::Migration
  def self.up
    add_index :timespans, :after_date
    add_index :timespans, :before_date
  end

  def self.down
    remove_index :timespans, :after_date
    remove_index :timespans, :before_date
  end
end
